package com.momo.service.sysSetting;

import com.momo.common.common.JSONResult;
import com.momo.common.req.sysSetting.authority.AclReq;
import com.momo.common.req.sysmain.RedisUser;

/**
 * Created by MOMO on 2019/3/21.
 * 权限点
 */
public interface SysAclService {
    /**
     * 新增权限点
     *
     * @param aclReq
     * @param redisUser
     * @return
     */
    public JSONResult add(AclReq aclReq, RedisUser redisUser);

    /**
     * 编辑权限点
     *
     * @param aclReq
     * @param redisUser
     * @return
     */
    public JSONResult modify(AclReq aclReq, RedisUser redisUser);

    /**
     * 权限点 状态
     *
     * @param aclReq
     * @param redisUser
     * @return
     */
    public JSONResult status(AclReq aclReq, RedisUser redisUser);
}
